﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Model.Framework
{
    public class Permission
    {
        /// <summary>
        /// 用户编号
        /// </summary>
        [Key()]
        public Guid ID { get; set; }
        /// <summary>
        /// 角色编号
        /// </summary>
        public Guid? RID { get; set; }
        /// <summary>
        /// 操作编号
        /// </summary>
        public Guid? OID { get; set; }
        /// <summary>
        /// 编码
        /// </summary>
        [MaxLength(255)]
        public string Code { get; set; }
    }
}
